Skip to content

[release-4.21] OCPBUGS-97991: CVE-2026-44918: Prevent rehoming resources to nodes with different owner - #454

Merged
openshift-merge-bot[bot] merged 1 commit into
openshift:release-4.21from
rh-soboh:CVE-2026-44918-4.21
Aug 2, 2026
Merged

[release-4.21] OCPBUGS-97991: CVE-2026-44918: Prevent rehoming resources to nodes with different owner#454
openshift-merge-bot[bot] merged 1 commit into
openshift:release-4.21from
rh-soboh:CVE-2026-44918-4.21

Conversation

@rh-soboh

Copy link
Copy Markdown

Summary

Cherry-pick upstream fix for CVE-2026-44918 / OSSA-2026-026 into release-4.21.
Prevents rehoming volume connectors/targets (and related parent/child and port resources) onto nodes with a different owner without re-checking access on the destination node.

Upstream

Jira

OCPBUGS-97991

Ironic has a few similar patterns where only the source node is verified
during a create or update operation:
1. A node can be created with a parent from a different project
2. Node can be updated to have a parent from a different project
3. Ports, port groups, volume targets and volume connectors can be
   patched to be owned by a node from a different project.

This patch addresses all these cases and introduces a single helper to
cover all of them.

Also makes sure that baremetal:node:get is checked even if the parent
node ID is a UUID (it was missing before).

Related-Bug: 2150450
Change-Id: Iaa512f380926a9fc032eefea5bcdcbc5040a4739
Signed-off-by: Julia Kreger <juliaashleykreger@gmail.com>
Signed-off-by: Jay Faulkner <jay@jvf.cc>
(cherry picked from commit b58d4ad)
@openshift-ci-robot openshift-ci-robot added jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Jul 29, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@rh-soboh: This pull request references Jira Issue OCPBUGS-97991, which is invalid:

  • expected Jira Issue OCPBUGS-97991 to depend on a bug targeting a version in 4.22.0 and in one of the following states: VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA), but no dependents were found

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

Details

In response to this:

Summary

Cherry-pick upstream fix for CVE-2026-44918 / OSSA-2026-026 into release-4.21.
Prevents rehoming volume connectors/targets (and related parent/child and port resources) onto nodes with a different owner without re-checking access on the destination node.

Upstream

Jira

OCPBUGS-97991

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@rh-soboh

Copy link
Copy Markdown
Author

/ok-to-test

@openshift-ci openshift-ci Bot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Jul 29, 2026
@openshift-ci
openshift-ci Bot requested review from derekhiggins and dtantsur July 29, 2026 12:58
@openshift-ci

openshift-ci Bot commented Jul 29, 2026

Copy link
Copy Markdown

@rh-soboh: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@iurygregory

Copy link
Copy Markdown

/approve

@openshift-ci

openshift-ci Bot commented Jul 29, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: iurygregory, rh-soboh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 29, 2026
@elfosardo

Copy link
Copy Markdown

/lgtm

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Jul 31, 2026
@rh-soboh

rh-soboh commented Aug 2, 2026

Copy link
Copy Markdown
Author

/jira refresh

@openshift-ci-robot

Copy link
Copy Markdown

@rh-soboh: This pull request references Jira Issue OCPBUGS-97991, which is invalid:

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@rh-soboh

rh-soboh commented Aug 2, 2026

Copy link
Copy Markdown
Author

/jira refresh

@openshift-ci-robot openshift-ci-robot added the jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. label Aug 2, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@rh-soboh: This pull request references Jira Issue OCPBUGS-97991, which is valid. The bug has been moved to the POST state.

7 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.21.z) matches configured target version for branch (4.21.z)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • release note type set to "Release Note Not Required"
  • dependent bug Jira Issue OCPBUGS-100167 is in the state Verified, which is one of the valid states (VERIFIED, RELEASE PENDING, CLOSED (ERRATA), CLOSED (CURRENT RELEASE), CLOSED (DONE), CLOSED (DONE-ERRATA))
  • dependent Jira Issue OCPBUGS-100167 targets the "4.22.0" version, which is one of the valid target versions: 4.22.0
  • bug has dependents

Requesting review from QA contact:
/cc @rissh

Details

In response to this:

/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot removed the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Aug 2, 2026
@openshift-ci
openshift-ci Bot requested a review from rissh August 2, 2026 16:29
@openshift-merge-bot
openshift-merge-bot Bot merged commit 6acc6b8 into openshift:release-4.21 Aug 2, 2026
4 checks passed
@openshift-ci-robot

Copy link
Copy Markdown

@rh-soboh: Jira Issue OCPBUGS-97991: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-97991 has been moved to the MODIFIED state.

Details

In response to this:

Summary

Cherry-pick upstream fix for CVE-2026-44918 / OSSA-2026-026 into release-4.21.
Prevents rehoming volume connectors/targets (and related parent/child and port resources) onto nodes with a different owner without re-checking access on the destination node.

Upstream

Jira

OCPBUGS-97991

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/severity-important Referenced Jira bug's severity is important for the branch this PR is targeting. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants